#ifndef __AGORA_NETWORK_HOST_H__
#define __AGORA_NETWORK_HOST_H__

#include "winsock2.h"
#include "Connection.h"

namespace Network
{
	class	Host : public Connection
	{
	public:
		Host();
		~Host();
		unsigned int	Init(unsigned short int port, const std::string& address = "ANYADDR");
		unsigned int	Listen(unsigned int queueLenght = 5);
		unsigned int	Accept(Connection** incomingConnection);
	};
}

#endif